home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / os2dbutl.zip / LUDOSPY.H < prev    next >
C/C++ Source or Header  |  1993-03-09  |  2KB  |  62 lines

  1. /* KNB Version 2.00 */
  2. #define INCL_PM
  3. #include <os2.h>
  4. #include "LUDOSPY.rch"
  5.  
  6. #include <stdio.h>
  7. #include <stdlib.h>
  8. #include <string.h>
  9. #include <ctype.h>
  10. #include <time.h>
  11. #include <graph.h>
  12.  
  13. #define WM_FAILEDVALIDATE (WM_USER+0)
  14.  
  15. /* these structures are used to add the program name to the task list      */
  16. EXTERN HSWITCH hSwitch;
  17. EXTERN SWCNTRL Swctl;
  18.  
  19. EXTERN HELPINIT hiLUDOSPYHelp;     /* Help initialization structure        */
  20. EXTERN HWND     hWndLUDOSPYHelp;   /* Handle to Help window                */
  21.  
  22. EXTERN CHAR szAppName[20]; /* class name of application                    */
  23.  
  24.  
  25. EXTERN HAB  hAB;         /* Handle to the Anchor Block                     */
  26. EXTERN HMQ  hMQ;         /* Handle to the Message Queue                    */
  27. EXTERN HWND hWndFrame;   /* Handle to the Window Frame                     */
  28. EXTERN HWND hWndClient;  /* Handle to the Client Window                    */
  29. EXTERN HWND hWndDATABASE;
  30.  
  31.  
  32. typedef struct 
  33.          {
  34.           int    YourWindowsTitleGoesHere;
  35.          } CATStruct;
  36.  
  37. #define OFFSET_CAT 0
  38.  
  39. /* Function prototypes                                                     */
  40. INT cwCheckDlgItem(HWND, INT, INT);
  41. INT cwCenter(HWND, HWND);
  42. INT cwSetInitDlgStatus(HWND);
  43. INT cwFreeDlgMemory(HWND);
  44. void lmemset(void FAR *, CHAR, INT);
  45. PSZ longstrcpy(PSZ, PSZ);
  46. INT cwRegisterClass(VOID);
  47. HWND cwCreateWindow(HWND, ULONG, PCH, PCH, USHORT, INT, INT, INT, INT, PHWND, ULONG, USHORT);
  48. MRESULT EXPENTRY LimitLBox( HWND hWndDlg, USHORT sLength );
  49. MRESULT EXPENTRY AlignLBox( HWND hWndDlg, USHORT sResource,
  50.                             USHORT *cols, MPARAM mparam2 );
  51.  
  52. MRESULT EXPENTRY WndProc(HWND, USHORT, MPARAM, MPARAM);
  53. MRESULT EXPENTRY INTERVALMsgProc(HWND, USHORT, MPARAM, MPARAM);
  54. MRESULT EXPENTRY FILESMsgProc(HWND, USHORT, MPARAM, MPARAM);
  55. MRESULT EXPENTRY DATABASEMsgProc(HWND, USHORT, MPARAM, MPARAM);
  56. MRESULT EXPENTRY STATUSMsgProc(HWND, USHORT, MPARAM, MPARAM);
  57. MRESULT EXPENTRY CATMsgProc(HWND, USHORT, MPARAM, MPARAM);
  58. MRESULT EXPENTRY NODEMsgProc(HWND, USHORT, MPARAM, MPARAM);
  59. MRESULT EXPENTRY NO_CONMsgProc(HWND, USHORT, MPARAM, MPARAM);
  60. MRESULT EXPENTRY UN_CATMsgProc(HWND, USHORT, MPARAM, MPARAM);
  61. MRESULT EXPENTRY UN_NODEMsgProc(HWND, USHORT, MPARAM, MPARAM);
  62.